<template>
  <el-container>
    <Aside></Aside>
    <el-container>
      <el-header height="70px">
        <Header></Header>
      </el-header>
      <el-main>
        <router-view></router-view>
      </el-main>
      <el-footer>
        <Footer></Footer>
      </el-footer>
    </el-container>
  </el-container>
</template>

<script>
import Aside from "../../components/Home/aside";
import Header from "../../components/Home/header.vue";
import Footer from "../../components/Home/footer.vue";
export default {
  data() {
    return {};
  },
  components: {
    Aside,
    Header,
    Footer,
  },
  created() {},
};
</script>

<style scoped lang="less">
.el-container {
  height: 100%;
  width: 100%;
  display: flex;
  .el-container {
    flex: 1;
    .el-main {
      background-color: #e9eef3;
      color: #333;
      text-align: center;
      line-height: 160px;
    }
    .el-header,
    .el-footer {
      color: #333;
      text-align: center;
      line-height: 60px;
      height: 80px;
    }
  }
}
</style>
